/**
 * system-config router
 */

import { factories } from '@strapi/strapi';

export default factories.createCoreRouter('api::system-config.system-config', {
  // only: ['find', 'findOne'],
  config: {
    find: {
      middlewares: ['global::onlyMine']
    },
    findOne: {
      middlewares: ['global::onlyMine']
    },
    create: {},
    update: {},
    delete: {},
  },
});
